package com.sixth.service;

import com.sixth.bean.MarketOrder;
import com.sixth.bean.bo.*;
import com.sixth.bean.common.BasePageInfo;
import com.sixth.bean.common.BasePageInfoVo;
import com.sixth.bean.vo.*;

import java.util.Map;

/**
 * @Author lixinhang
 * @Time 2022/9/7 17:25
 */
public interface OrderService {
    OrderListVO orderList(OrderListBO orderListBO);

    OrderDetailVO orderDetail(Integer id);

    void orderDeleteById(Integer orderId);

    void orderShip(Map map);
    //商家后台同意退款的方法，要去修改库存
    void orderRefund(OrderRefundBO orderRefundBO);


    BasePageInfoVo wxList(WXOrderListBO wxOrderListBO);

    int adminOrderReply(Integer commentId, String content);


    int wxOrderComment(WXOrderCommentBO wxOrderCommentBO);

    int wxRefund(int orderId);

    WXOrderDetailVO wxDetail(int orderId);

    int wxDelete(int orderId);

    int wxConfirm(int orderId);

    int wxCancel(int orderId);

    int wxPrepay(int orderId);

    WXOrderSubmitVO wxSubmit(WXOrderSubmitBo wxOrderSubmitBo);

    WXOrderGoodsVO wxGoods(WXOrderGoodsBO wxOrderGoodsBO);
}
